package com.blog.mapper;

import com.blog.entity.Filter;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author blog
 * @since 2021-04-22
 */
@Repository
@Mapper
public interface FileMapper extends BaseMapper<Filter> {

    int insert(Filter file);

    List<Filter> getFileList();

    int delete(String imgUrl);
}
